import uuid

from selenium import webdriver;
from selenium.webdriver import ActionChains
import time;
import requests
from selenium.webdriver.support.select import Select

baseUrl = "http://localhost:3000/"
if __name__ == '__main__':
    dr = webdriver.Chrome();
    dr.maximize_window();
    dr.get(baseUrl)
    projectName= uuid.UUID();
    dr.find_element_by_xpath('//*[@id="theia:menubar"]/ul/li[1]/div[2]').click()
    dr.find_element_by_xpath('/html/body/div[8]/ul/li[1]/div[2]').click()
    dr.find_element_by_xpath('/html/body/div[8]/ul/li[1]/div[2]').send_keys(projectName)
    dr.find_element_by_xpath('//*[@id="theia-dialog-shell"]/div/div[2]/div/div/div[4]/input').send_keys('C:\\temp\\testProjects')
